package pers.gxm.shiro.service;

import com.baomidou.mybatisplus.extension.service.IService;
import pers.gxm.shiro.pojo.User;

import java.util.List;

public interface UserService extends IService<User> {
    User getUserByName(String username);

    List<String> getUserRoles(String username);

    List<String> getPermissionsByRole(List<String> roles);
}
